package com.settlement.system.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.settlement.system.common.base.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * <p>
 * 科目设置
 * </p>
 *
 * @author huangrensen
 * @since 2023-09-07
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class SysSubjects extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 入账主体编码
     */
    private String companyCode;

    /**
     * 一级科目编码
     */
    private String firstCode;

    /**
     * 一级科目名称
     */
    private String firstName;

    /**
     * 末级科目编码
     */
    private String lastCode;

    /**
     * 末级科目名称
     */
    private String lastName;

    /**
     * 记账项目
     */
    private String accountingProject;
    /**
     * 辅助项选项
     */
    private String accessoryNames;

    /**
     * 借贷方向
     */
    private String borrowing;
}
